﻿#ifndef _ALARM_VO_H_
#define _ALARM_VO_H_

#include "oatpp/core/Types.hpp"
#include "oatpp/core/macro/codegen.hpp"

#include OATPP_CODEGEN_BEGIN(DTO)

class AlarmVo : public oatpp::DTO {
	DTO_INIT(AlarmVo, DTO)
	DTO_FIELD(String, id, "id");
	DTO_FIELD(String, deviceId, "deviceId");
	DTO_FIELD(String, deviceName, "deviceName");
	DTO_FIELD(String, alarmType, "alarmType");
	DTO_FIELD(String, alarmInfo, "alarmInfo");
	DTO_FIELD(String, alarmTime, "alarmTime");
	DTO_FIELD(Int32, upload, "upload");
	DTO_FIELD(String, uploadTime, "uploadTime");
	DTO_FIELD(Int32, uploadCount, "uploadCount");
	DTO_FIELD(String, imagePath, "imagePath");
	DTO_FIELD(String, imageUrl, "imageUrl");
	DTO_FIELD(Int32, uploadRecord, "uploadRecord");
	DTO_FIELD(String, recordPath, "recordPath");
	DTO_FIELD(String, recordUrl, "recordUrl");
};

#include OATPP_CODEGEN_END(DTO)

#endif